package com.bruan.d1_staticdemo;

public class Test2 {
    public static void main(String[] args) {
        //类变量的应用场景
        User u1 = new User();
        User u2 = new User();
        User u3 = new User();
        User u4 = new User();
        User u5 = new User();
        System.out.println("用户数量："+User.number);
    }
}
